/*
Simple Forum Auto Poster.
Copyright (C) 2011 Gianni Van Hoecke.

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.
*/
package domain.settings;

/**
 *
 * @author Gianni Van Hoecke <gianni.vh@gmail.com>
 *
 * Static class with constants.
 */
public class Settings
{
    public static final String VERSION = "v0.1 BETA 1";
    public static final String APP_NAME_SHORT = "Simple Forum Auto Poster";
    public static final String APP_NAME = Settings.APP_NAME_SHORT + " " + Settings.VERSION;
    public static final String LINE_SEPARATOR = System.getProperty("line.separator");
    public static final String HOME_DIR = System.getProperty("user.home");
    public static final String FILE_SEPARATOR = System.getProperty("file.separator");
    public static final String NULL_VALUE = "[[@NULL]]";
    public static final String APP_DIR = Settings.HOME_DIR + Settings.FILE_SEPARATOR + "sfap";
    public static final String CATEGORIES_FILE = Settings.APP_DIR + Settings.FILE_SEPARATOR + "categories.dat";
    public static final String FORUMS_FILE = Settings.APP_DIR + Settings.FILE_SEPARATOR + "forums.dat";
    public static final String HISTORY_FILE = Settings.APP_DIR + Settings.FILE_SEPARATOR + "history.dat";
    public static final String TEMPLATES_FILE = Settings.APP_DIR + Settings.FILE_SEPARATOR + "templates.dat";
    public static final String LAF_FILE = Settings.APP_DIR + Settings.FILE_SEPARATOR + "laf.dat";
    public static final String QUEUE_FILE = Settings.APP_DIR + Settings.FILE_SEPARATOR + "queue.dat";
    public static final String PREFERENCES_FILE = Settings.APP_DIR + Settings.FILE_SEPARATOR + "preferences.dat";
    public static final String TEMP_FILE = System.getProperty("java.io.tmpdir") + Settings.FILE_SEPARATOR + "temp.html";
    public static final String DATE_FORMAT = "yyyy-MM-dd HH:mm:ss";
    public static final String TUTORIAL_URL = "http://sfap.sourceforge.net/?q=node/4";
    public static final String DONATE_URL = "https://sourceforge.net/donate/?user_id=2746922";
    public static final String UPDATE_URL = "http://sfap.sourceforge.net/version.txt";
    public static final String PROJECT_URL = "http://sfap.sourceforge.net/?q=node/1";
}
